// logs.ts
// const util = require('../../utils/util.js')
import { formatTime } from '../../utils/util'

Page({
  data: {
    tabs:['发展历程','荣誉资质','创新发展'],
    showLine:0
  },
  tabsItemChange(e){
    if(e.detail.index==0){
      this.setData({
        showLine: 0
    })
    }
    else if(e.detail.index==1){
      this.setData({
        showLine: 1
    })
    }
    else{
      this.setData({
        showLine: 2
    }) 
    }


},
    /**
   * 生命周期函数--监听页面加载
   */
  onLoad(options) {
    this.setData({
      img: options.img
    });
      console.log(options.img)
  },
  methods: {
    clickMe(){
      console.log('用户已经点击了');
    },

  },
  lifetimes: {

  },
})
